/*-------------------------------------------------------------------------

***************** Modification History ***********************************
* @doc		COUNTER
* @module	pcounter.h
* Header file for counter functions prototypes
*
* Product	: SoftPay 2000 (Global Payment Methodology).
* Developer	: Miami
* Notes		:
* Log		: /SoftPay/SPK2SIM/Source/Include/pcounter.h
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/
#ifndef VSPCOUNTER_H
#define VSPCOUNTER_H

#include  <counter.h>
#include  <define.h>
#include  <transact.h>

long inSetTimerOnOff (int);
int	 inAddCounterFunctions(void);
char inGetStatisticsParm  (void);
void inPutStatisticsParm  (char);
void vdClearStatisticsParm(void);

int	inInitHostCounters(COUNTER_OBJECT *);
int inInitCounter(COUNTER_OBJECT *);
int	 inGetCounter (COUNTER_OBJECT * , long *);
int	 inIncCounter (COUNTER_OBJECT * , int   );
int	 inPutCounter (COUNTER_OBJECT * , long  );
int	 inClearAllCounters (void);
int inUpdateCounterFlow (TRANSACTION_OBJECT *);
int inUpdateEntryCounter(TRANSACTION_OBJECT *);
void vdSetResponseCounter(COUNTER_OBJECT *, int);
void vdSetModemConnectCounter(COUNTER_OBJECT * , int, int);

#endif	/* VSPCOUNTER_H		*/
